package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class ShoppingCart {


    private String id;
    private String name;
    private String userId;
    private String dishId;
    private String dishFlavor;
    private String setmealId;
    private Integer number;
    private String amount;
    private String image;
    @TableField(fill = FieldFill.INSERT)//插入时填充字段
    private Long  createTime;
    @TableField(exist = false)
    private Long  updateTime;
    /**
     *创建人
     */
    @TableField(exist = false)
    private String createUser;
    /**
     *修改人
     */
    @TableField(exist = false)
    private String updateUser;



}
